home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / std / c / 637 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.5 KB

  1. Path: news.iadfw.net!usenet
  2. From: Larry Weiss <lfw@iadfw.net>
  3. Newsgroups: comp.std.c
  4. Subject: externsions and Standard C
  5. Date: Sat, 23 Mar 1996 09:30:02 -0600
  6. Organization: customer of Internet America
  7. Message-ID: <315418FA.1508@iadfw.net>
  8. References: <4gum82$14v4@info4.rus.uni-stuttgart.de><MIB.96Mar15170902@gnu.ai.mit.edu><wyraut5fqq.fsf@dns.bluesky.net><MIB.96Mar16174948@gnu.ai.mit.edu><4ifq40$i87@sundog.tiac.net><MIB.96Mar18105957@gnu.ai.mit.edu><danpop.827188302@rscernix> <MPLANET.31530e9djcoffin98993e@news.rmii.com> <31536199.219868914@nntp.ix.netcom.com>
  9. NNTP-Posting-Host: dal10-21.ppp.iadfw.net
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.01 (Win16; I)
  14.  
  15. Mike Rubenstein wrote:
  16.  > 
  17.  > You've missed a rather subtle point.  Such extensions are legal but
  18.  > they do not introduce integer types.  The standard defines the signed
  19.  > integer types as being signed char, short int, int, and long int (and
  20.  > similarly for unsigned integer types).  An implementation may
  21.  > introduce new types that behave like integers, but according to the
  22.  > standard they are not integer types.
  23.  > 
  24.  > This is important since it guarantees, for example, that size_t is
  25.  > unsigned char, unsigned short, unsigned int, or unsigned long.  An
  26.  > implementation cannot define size_t as being unsigned _VeryLong
  27.  > (assuming, of course, that unsigned _VeryLong is a new type).
  28.  > 
  29.  
  30. It must be pretty subtle!   Can you cite specific Clause references to help me
  31. sort out this distinction?
  32.